package com.stone.business.gzrwd.pojo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

@SuppressWarnings("serial")
@Entity
@Table(name = "TAB_GZRWD_RW")
public class TGzrwdRw implements java.io.Serializable {

	// Fields

	private Long id;

	private Long gzrwdid;// 工作任务单id
	private Long planid;// 计划id
	private Long bzid;// 班组id
	private String dydj;// 电压等级
	private String sblx;// 设备类型
	private String sblxname;
	private String gznr;// 工作内容
	private Long bzgs;// 标准工时
	private String gzqk;// 工作情况
	private String ylwt;// 遗留问题
	private String finishflag;// 是否完成
	private Long sbid;// 设备id
	private String sbname;// 设备名称
	private Long sbqxid;// 设备缺陷id

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_GZRWD_RW")
	@SequenceGenerator(name = "SEQ_GZRWD_RW", allocationSize = 1, sequenceName = "SEQ_GZRWD_RW")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getGzrwdid() {
		return gzrwdid;
	}

	public void setGzrwdid(Long gzrwdid) {
		this.gzrwdid = gzrwdid;
	}

	public Long getPlanid() {
		return planid;
	}

	public void setPlanid(Long planid) {
		this.planid = planid;
	}

	public Long getBzid() {
		return bzid;
	}

	public void setBzid(Long bzid) {
		this.bzid = bzid;
	}

	public String getDydj() {
		return dydj;
	}

	public void setDydj(String dydj) {
		this.dydj = dydj;
	}

	public String getSblx() {
		return sblx;
	}

	public void setSblx(String sblx) {
		this.sblx = sblx;
	}

	public String getGznr() {
		return gznr;
	}

	public void setGznr(String gznr) {
		this.gznr = gznr;
	}

	public Long getBzgs() {
		return bzgs;
	}

	public void setBzgs(Long bzgs) {
		this.bzgs = bzgs;
	}

	public String getGzqk() {
		return gzqk;
	}

	public void setGzqk(String gzqk) {
		this.gzqk = gzqk;
	}

	public String getYlwt() {
		return ylwt;
	}

	public void setYlwt(String ylwt) {
		this.ylwt = ylwt;
	}

	public String getFinishflag() {
		return finishflag;
	}

	public void setFinishflag(String finishflag) {
		this.finishflag = finishflag;
	}

	public Long getSbid() {
		return sbid;
	}

	public void setSbid(Long sbid) {
		this.sbid = sbid;
	}

	public String getSbname() {
		return sbname;
	}

	public void setSbname(String sbname) {
		this.sbname = sbname;
	}

	public Long getSbqxid() {
		return sbqxid;
	}

	public void setSbqxid(Long sbqxid) {
		this.sbqxid = sbqxid;
	}

	@Transient
	public String getSblxname() {
		return sblxname;
	}

	public void setSblxname(String sblxname) {
		this.sblxname = sblxname;
	}

}